package com.dddexplained.designbootcamp.designpatterns.state.device.before;

public class InitialState extends DeviceState {
    public InitialState(TelnetService service) {
        super(service);
        System.out.println("In Initial");
    }

    @Override
    public void login() {
        System.out.println("login");
        service.setCurrentState(new MasterBoardShellState(service));
    }

    @Override
    public void logout() {
        System.out.println("Not support");
    }

    @Override
    public void enterSlaveBoard() {
        System.out.println("Not support");
    }

    @Override
    public void exitSlaveBoard() {
        System.out.println("Not support");
    }

    @Override
    public void enterUshell() {
        System.out.println("Not support");
    }

    @Override
    public void exitUshell() {
        System.out.println("Not support");
    }
}
